package com.ala4.oxcafe.event;

import com.aliyun.sms.SMSTemplateEnum;
import com.aliyun.sms.TemplateParam;
import lombok.Data;

/**
 * 发送短信事件
 *
 * @author PING
 * @date 2025/8/17 11:58
 */
@Data
public class SendSmsEvent {

    // 短信模板
    private SMSTemplateEnum SMSTemplate;

    // 发送的手机号
    private String phoneNumber;

    // 模版参数
    private TemplateParam templateParam;

    public SendSmsEvent(SMSTemplateEnum SMSTemplate, String phoneNumber, TemplateParam templateParam) {
        this.SMSTemplate = SMSTemplate;
        this.phoneNumber = phoneNumber;
        this.templateParam = templateParam;
    }
}
